package com.jbm.core.client;

import com.jbm.core.common.ConnectAgent;
import com.jbm.onehome.iface.ICertAddress;

/**
 * Created by root on 16-10-14.
 */
public interface MainCallback
{
	void NewAccount(ConnectAgent ca);
	void RemoveAccount(Integer account_id);

	void UpdateAccount(boolean pullall, ConnectAgent ca);
	void OfflineAccount(int status, ConnectAgent ca);

	void NewDevice(ConnectAgent ca);
	void RemoveDevice(Integer account_id);

	void UpdateDevice(boolean pullall, ConnectAgent ca);
	void OfflineDevice(ConnectAgent ca);

	void NewText(Integer account_id, String text);

	void GPConfirmStart(int cg_id);
	void GPSelectCertAddress(int cg_id, ICertAddress[] ca);
	void GPSelectCatalog(int cg_id, String[] catalog);
	void GPSelectTeam(int cg_id, String[] team);
}
